﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administrador.Master" AutoEventWireup="true" CodeBehind="UI_ScoresComplete.aspx.cs" Inherits="Espam.Idiomas.Decimo.Tesis.Web.UI_ScoresComplete" ViewStateEncryptionMode="Never" EnableEventValidation="false" %>
<%@ Register  assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .fontDt {
            font-size: 9px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Contenido" runat="server">
     <script type="text/javascript">
         window.onload = function () {
             var seconds = 3;
             setTimeout(function () {
                 document.getElementById("<%=lblvalida.ClientID %>").style.display = "none";
             }, seconds * 1000);
         };

</script>
       <cc1:toolkitscriptmanager ID="ToolkitScriptManager1" runat="server">
    </cc1:toolkitscriptmanager>
     <div id="page-wrapper">

            <div class="page-content">

                <!-- begin PAGE TITLE AREA -->
                <!-- Use this section for each page's title and breadcrumb layout. In this example a date range picker is included within the breadcrumb. -->
                <div class="row">
                    <div class="col-lg-12">
                        <div class="page-title">
                            <h1>Calificaciones
                                <small>Reporte Calificaciones</small>
                            </h1>
                            <ol class="breadcrumb">
                                <li class="active">
                                 <asp:Label ID="lblvalida" runat="server" Text="" Visible="False"></asp:Label></li>
                                <li class="pull-right">
                                    <div id="reportrange" class="btn btn-green btn-square date-picker">
                                        <i class="fa fa-calendar"></i>
                                        <span class="date-range"></span> <i class="fa fa-caret-down"></i>
                                    </div>
                                </li>
                            </ol>
                        </div>
                    </div>
                    <!-- /.col-lg-12 -->
                </div>
                <!-- /.row -->
                <!-- end PAGE TITLE AREA -->
            </div>
          <!-- end PAGE TITLE ROW -->
                <div class="row">
               <!-- Validation Examples -->
                    <div class="col-lg-12">
                        <div class="portlet portlet-default">
                            <div class="portlet-heading">
                                <div class="portlet-title">
                                    <h4>Datos Calificaciones</h4>
                                </div>
                                <div class="portlet-widgets">
                                    <a data-toggle="collapse" data-parent="#accordion" href="#validationExamples"><i class="fa fa-chevron-down"></i></a>
                                </div>
                                <div class="clearfix"></div>
                            </div>
                            <div id="validationExamples" class="panel-collapse collapse in">
                                <div class="portlet-body">
                                   
                                <div class="portlet-body">
                                <div class="table-responsive">
                                    <div runat="server" id="idMensajeMatricula" visible="false">
                                        <h1 align="center"> <asp:Label ID="lblMensajeErrorMatricula" runat="server" Text="Label"></asp:Label></h1>
                                    </div>
                                    <table class="table">
                                        <thead>
                                        
                                       
                                            <tr runat="server" id="filaMatricula">
                                                 <td>Ciclo:</td>
                                                <td>
                                                      <asp:UpdatePanel ID="UpdatePanel4" runat="server">
                                                        <ContentTemplate>
                                                            <asp:DropDownList ID="ddlCiclo" CssClass="form-control" runat="server" OnSelectedIndexChanged="ddlCiclo_SelectedIndexChanged"  ></asp:DropDownList>
                                                        </ContentTemplate>
                                                    </asp:UpdatePanel>
                                                </td>
                                                 <td>Nivel:</td>
                                                <td>
                                                      <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                                                        <ContentTemplate>
                                                    <asp:DropDownList ID="ddlNivel" CssClass="form-control" runat="server" OnSelectedIndexChanged="ddlNivel_SelectedIndexChanged"   ></asp:DropDownList>
                                                     </ContentTemplate>
                                                    </asp:UpdatePanel>
                                                </td>
                                                <td runat="server" >Módulo:</td>
                                                <td runat="server" >
                                                     <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                                        <ContentTemplate>
                                                             <asp:DropDownList ID="ddlNiv" runat="server" CssClass="form-control" OnSelectedIndexChanged="ddlNiv_SelectedIndexChanged"></asp:DropDownList>
                                                        </ContentTemplate>
                                                    </asp:UpdatePanel>
                                                </td>
                                               
                                               </tr>
                                             </thead>
                                        
                                        <tbody>
                                           <%--</form>--%>
                                            <tr runat="server" id="fila2Matricula" visible="true">
                                                <td></td>
                                                <td></td>
                                                <td></td>
                                                <td></td>
                                                <td><asp:Button ID="btnCancelar" runat="server" Text="Cancelar" CssClass="btn btn-block" /></td>
                                                <td>
                                                 <%-- <asp:UpdatePanel ID="UpdatePanel5" runat="server">
                                                       <ContentTemplate>--%>
                                                          <asp:Button ID="btnGenerarReporte" runat="server" Text="Generar Reporte" CssClass="btn btn-dark-blue" OnClick="btnGenerarReporte_Click" />
                                                      <%--  </ContentTemplate>
                                                  </asp:UpdatePanel>--%>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>

                                </div>
                            </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!-- /.col-lg-12 -->
                    <!-- End Validation Examples -->
             </div>
                <!-- /.row -->

           <div class="row">
               <!-- Validation Examples -->
                    <div class="col-lg-12">
                        <div class="portlet portlet-default">
                            <div class="portlet-heading">
                                <div class="portlet-title">
                                    <h4>Calificaciones</h4>
                                </div>
                                <div class="clearfix"></div>
                            </div>
                            <div id="Div1" class="panel-collapse collapse in">
                                <div class="portlet-body" >
                                   
                                <div class="portlet-body">
                                     
                                     <div class="table-responsive">
                                    <%-- <table class="table">--%>
                               <%-- </div>--%>
                                  <!-- gridview modulos -->

                                  <!-- End gridview modulos -->
                                    <%--</form>--%>
                                        <%--  <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                                        <ContentTemplate>
                                    <asp:GridView ID="gvScoresMatriculados" Width="100%" runat="server" 
                                        AutoGenerateColumns="False" CellPadding="4" GridLines="Horizontal"  
                                         BackColor="White" BorderColor="#336666" 
                                        BorderStyle="Double" BorderWidth="3px" DataKeyNames="documento" OnRowCancelingEdit="gvScoresMatriculados_RowCancelingEdit" OnRowEditing="gvScoresMatriculados_RowEditing" OnRowUpdating="gvScoresMatriculados_RowUpdating"  >
                                        <Columns>
                                            <asp:BoundField DataField="num" HeaderText="N°." />
                                            <asp:BoundField DataField="nombresYApellidos" HeaderText="NOMINA" >
                                            <HeaderStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="parametro1" HeaderText="READING" DataFormatString="{0:0.00}" >
                                            <HeaderStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                           
                                            <asp:BoundField DataField="parametro2" HeaderText="LISTENING" DataFormatString="{0:0.00}" />
                                            <asp:BoundField HeaderText="SPEAKING" DataField="parametro3" DataFormatString="{0:0.00}" />
                                            <asp:BoundField HeaderText="WRITING" DataField="parametro4" DataFormatString="{0:0.00}" />
                                            <asp:BoundField HeaderText="SUB TOTAL" DataField="subTotal" DataFormatString="{0:0.00}" />
                                            <asp:BoundField HeaderText="EXAMEN FINAL" DataField="examenFinal" DataFormatString="{0:0.00}" />
                                            <asp:BoundField HeaderText="TOTAL" DataField="total" DataFormatString="{0:0.00}" />
                                            <asp:BoundField HeaderText="SUPLETORIO" DataField="supletorio" DataFormatString="{0:0.00}" />
                                            <asp:BoundField HeaderText="NOTA FINAL" DataField="promedio" DataFormatString="{0:0.00}" />
                                            <asp:CommandField ShowEditButton="True" />
                                        </Columns>
                                        <FooterStyle BackColor="White" ForeColor="#333333" />
                                        <HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" />
                                        <PagerStyle BackColor="#336666" ForeColor="White" HorizontalAlign="Center" />
                                        <RowStyle BackColor="White" ForeColor="#333333" />
                                        <SelectedRowStyle BackColor="#339966" Font-Bold="True" ForeColor="White" />
                                        <SortedAscendingCellStyle BackColor="#F7F7F7" />
                                        <SortedAscendingHeaderStyle BackColor="#487575" />
                                        <SortedDescendingCellStyle BackColor="#E5E5E5" />
                                        <SortedDescendingHeaderStyle BackColor="#275353" />
                                    </asp:GridView>
                                             </ContentTemplate>
                                </asp:UpdatePanel>--%>

                                           <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                                        <ContentTemplate>
                                    <asp:GridView ID="gvScoresMatriculados" runat="server" 
                                        Width="100%"
                                        AutoGenerateColumns="False"
                                        DataKeyNames="documento" OnRowCancelingEdit="gvScoresMatriculados_RowCancelingEdit"
                                        OnRowEditing="gvScoresMatriculados_RowEditing"
                                        OnRowUpdating="gvScoresMatriculados_RowUpdating" 
                                        OnLoad="gvScoresMatriculados_Load"
                                        OnPreRender="gvScoresMatriculados_PreRender" >
                                        <Columns>
                                            <asp:BoundField DataField="num" HeaderText="N°." />
                                            <asp:BoundField DataField="nombresYApellidos" HeaderText="NOMINA" >
                                            <HeaderStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="parametro1" HeaderText="READING" DataFormatString="{0:0.00}" >
                                            <HeaderStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                           
                                            <asp:BoundField DataField="parametro2" HeaderText="LISTENING" DataFormatString="{0:0.00}" />
                                            <asp:BoundField HeaderText="SPEAKING" DataField="parametro3" DataFormatString="{0:0.00}" />
                                            <asp:BoundField HeaderText="WRITING" DataField="parametro4" DataFormatString="{0:0.00}" />
                                            <asp:BoundField HeaderText="SUB TOTAL" DataField="subTotal" DataFormatString="{0:0.00}" />
                                            <asp:BoundField HeaderText="EXAMEN FINAL" DataField="examenFinal" DataFormatString="{0:0.00}" />
                                            <asp:BoundField HeaderText="TOTAL" DataField="total" DataFormatString="{0:0.00}" />
                                            <asp:BoundField HeaderText="SUPLETORIO" DataField="supletorio" DataFormatString="{0:0.00}" />
                                            <asp:BoundField HeaderText="NOTA FINAL" DataField="promedio" DataFormatString="{0:0.00}" />
                                            <asp:CommandField ShowEditButton="True" />
                                        </Columns>
                                    </asp:GridView>
                                             </ContentTemplate>
                                </asp:UpdatePanel>


                                        <%-- </table>--%>
                            </div>
                                    </div>
                                     <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
                                <ProgressTemplate>
                                    <div id="Background" class="Background"></div>
                                        <div id="Progress" class="progress">
                                            <h6> <p style="text-align:center"> <b>Procesando Datos, Espere por favor... <br /></b> </p> </h6>
                                        </div>
                                </ProgressTemplate>
                             </asp:UpdateProgress>
                                         <%--</form>--%>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!-- /.col-lg-12 -->
                    <!-- End Validation Examples -->
             </div>
                <!-- /.row -->
     </div>
</asp:Content>
